<?php
class HTMLFunctions {
	var $link = null;
	var $params = null;
	var $name = null;	
		
	function slc_link($link, $params, $name) {
		$data = '<a href="'.$link.'" '.$params.'>'.$name.'</a>';
		return $data;
	}
	
	function slc_img($link, $params) {
		$data = '<img src="'.$link.'" '.$params.'/>';
		return $data;
	}
	
	function slc_redirect($link) {
		$data = header("Location: $link");
		return $data;
	}
}
?>